package com.irt.rootcloud.realtime.gketl.model;

import java.io.Serializable;

/**
 * 
 * <p>地理信息数据<br/>
 * 创建时间：2016年11月29日下午2:43:48<br/>
 * 文件名称：LocationInfo.java<br/>
 * 类路径：com.sany.datasource.domain.entity<br/>
 * 修改记录：<br/>
 * </p>
 * @author Peter
 * @version V1.0
 */
//@Document(collection="LOCATION_INFO_MAPS")
public class LocationInfo implements Serializable{

//	@Transient
	private static final long serialVersionUID = 625379857091022973L;

//	@Id
	private String oId;
	
	//省
//	@Indexed(background=true,name="LOCATION_INFO_MAPS_PROVINCEID")
	private int provinceId;
	
	private String provinceName;
	
	//市
//	@Indexed(background=true,name="LOCATION_INFO_MAPS_CITYID")
	private int cityId;
	
	private String cityName;
	
	//地区
//	@Indexed(background=true,name="LOCATION_INFO_MAPS_AREAID")
	private int areaId;
	
	private String areaName;
	
	//纬度
//	@Indexed(background=true,name="LOCATION_INFO_MAPS_LATITUDE")
	private double latitude;
	
	//经度开始
//	@Indexed(background=true,name="LOCATION_INFO_MAPS_LONGITUDESTART")
	private double longitudeStart;
	
	//经度结束
//	@Indexed(background=true,name="LOCATION_INFO_MAPS_LONGITUDEEND")
	private double longitudeEnd;

	public String getoId() {
		return oId;
	}

	public void setoId(String oId) {
		this.oId = oId;
	}

	public int getProvinceId() {
		return provinceId;
	}

	public void setProvinceId(int provinceId) {
		this.provinceId = provinceId;
	}

	public String getProvinceName() {
		if(provinceName!=null){
			return provinceName;
		}
		return "";
	}

	public void setProvinceName(String provinceName) {
		this.provinceName = provinceName;
	}

	public int getCityId() {
		return cityId;
	}

	public void setCityId(int cityId) {
		this.cityId = cityId;
	}

	public String getCityName() {
		if(cityName!=null){
			return cityName;
		}
		return "";
	}

	public void setCityName(String cityName) {
		this.cityName = cityName;
	}

	public int getAreaId() {
		return areaId;
	}

	public void setAreaId(int areaId) {
		this.areaId = areaId;
	}

	public String getAreaName() {
		if(areaName!=null){
			return areaName;
		}
		return "";
	}

	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}

	public double getLatitude() {
		return latitude;
	}

	public void setLatitude(double latitude) {
		this.latitude = latitude;
	}

	public double getLongitudeStart() {
		return longitudeStart;
	}

	public void setLongitudeStart(double longitudeStart) {
		this.longitudeStart = longitudeStart;
	}

	public double getLongitudeEnd() {
		return longitudeEnd;
	}

	public void setLongitudeEnd(double longitudeEnd) {
		this.longitudeEnd = longitudeEnd;
	}
}
